jQuery(document).ready(function() {
//生效日期
       var sxrqId=WfForm.convertFieldNameToId("sxrq");

    	WfForm.bindFieldChangeEvent(sxrqId,
        function(obj, id, value) {

        if(value!=""){
        var day=value.split("-")[2];

       if(day!='01'){
       alert("您只能选择1号的日期,请重新选择");
       WfForm.changeFieldValue(sxrqId, {
                    value: ""
                });
            }
         }

       });




})